package com.yudean.esb.mapper.esb;

import com.yudean.esb.domain.esb.EsbDataSource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author : DL<duanlei@gdyd.com>
 * @version : 1.0
 */
@Mapper
public interface EsbDataSourceMapper {

    int insert(EsbDataSource datasource);

    List<EsbDataSource> selectEnable(EsbDataSource dataSource);

    EsbDataSource selectOne(String ID);

    int addBatch(List<EsbDataSource> list);

    int update(EsbDataSource dataSource);

    List<EsbDataSource> select(EsbDataSource dataSource);

    int delete(String ID);

    int delBatch(String[] IDS);

}
